﻿using System;
using DevExpress.Utils.Design;
using DevExpress.Utils.Svg;
using DevExpress.XtraSplashScreen;

namespace KPFramework.Demo.MainUi.Wnd {
    public partial class SplashScreenWnd : SplashScreen {
        public enum SplashScreenCommand {
        }

        public SplashScreenWnd() {
            InitializeComponent();
            labelControl1.Text += DateTime.Now.Year.ToString();
            //ISvgPaletteProvider palette = SvgPaletteHelper.GetSvgPalette(this.TargetLookAndFeel.ActiveLookAndFeel, DevExpress.Utils.Drawing.ObjectState.Normal);
            //SvgImage svg = StockChartUC.LoadSvgImageFromResource("DX Logo", this);
            //pictureBox1.Image = new SvgBitmap(svg).Render(palette);
            //svg = StockChartUC.LoadSvgImageFromResource("App Logo", this);
            //pictureBox2.Image = new SvgBitmap(svg).Render(palette);
        }

        private object SvgBitmap(SvgImage svg) {
            throw new NotImplementedException();
        }
        #region Overrides
        public override void ProcessCommand(Enum cmd, object arg) {
            base.ProcessCommand(cmd, arg);
        }
        #endregion
    }
}
